package smartgrid.conf;

import javax.xml.bind.annotation.XmlElement;
import smartgrid.Constants;

public class ProsumerDSConf {
	
	private double	punishment;
	
	private double	costToPunish;
	
	private double	deltaPunishment;
	
	private int			normActivateNumMsg;
	
	private int			normActivateNumAction;
	
	private double	normActivateSalThreshold;
	
	private int			toleranceToViolation;
	
	private boolean	normActive;
	
	private double	normSalience;
	
	private double	individualWeight;
	
	private double	normativeWeight;
	
	
	public double getPunishment() {
		return this.punishment;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_PUNISHMENT)
	public void setPunishment(double punishment) {
		this.punishment = punishment;
	}
	
	
	public double getCostToPunish() {
		return this.costToPunish;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_COST_PUNISH)
	public void setCostToPunish(double costToPunish) {
		this.costToPunish = costToPunish;
	}
	
	
	public double getDeltaPunishment() {
		return this.deltaPunishment;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_DELTA_PUNISHMENT)
	public void setDeltaPunishment(double deltaPunishment) {
		this.deltaPunishment = deltaPunishment;
	}
	
	
	public int getNormActivateNumMsg() {
		return this.normActivateNumMsg;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_NORM_ACTIVATE_NUM_MSG)
	public void setNormActivateNumMsg(int normActivateNumMsg) {
		this.normActivateNumMsg = normActivateNumMsg;
	}
	
	
	public int getNormActivateNumAction() {
		return this.normActivateNumAction;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_NORM_ACTIVATE_NUM_ACTION)
	public void setNormActivateNumAction(int normActivateNumAction) {
		this.normActivateNumAction = normActivateNumAction;
	}
	
	
	public double getNormActivateSalThreshold() {
		return this.normActivateSalThreshold;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_NORM_ACTIVATE_SAL_THRESHOLD)
	public void setNormActivateSalThrshld(double normActivateSalThreshold) {
		this.normActivateSalThreshold = normActivateSalThreshold;
	}
	
	
	public int getToleranceToViolation() {
		return this.toleranceToViolation;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_TOLERANCE_TO_VIOLATION)
	public void setToleranceToViolation(int toleranceToViolation) {
		this.toleranceToViolation = toleranceToViolation;
	}
	
	
	public boolean getNormActive() {
		return this.normActive;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_NORM_ACTIVE)
	public void setNormActive(boolean normActive) {
		this.normActive = normActive;
	}
	
	
	public double getNormSalience() {
		return this.normSalience;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_INITIAL_NORM_SALIENCE)
	public void setNormSalience(double normSalience) {
		this.normSalience = normSalience;
	}
	
	
	public double getIndividualWeight() {
		return this.individualWeight;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_INDIVIDUAL_WEIGHT)
	public void setIndividualWeight(double individualWeight) {
		this.individualWeight = individualWeight;
	}
	
	
	public double getNormativeWeight() {
		return this.normativeWeight;
	}
	
	
	@XmlElement(name = Constants.TAG_PROSUMER_DS_NORMATIVE_WEIGHT)
	public void setNormativeWeight(double normativeWeight) {
		this.normativeWeight = normativeWeight;
	}
}